package demo;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Microsoft
 * Date: 2023-02-26
 * Time: 18:52
 */
public class Test {
    public static void main(String[] args) {
        Game game = new Game();
        List<Poker> pokers = game.buyPoker();
        System.out.println(pokers);

        //洗牌
        game.shuffle(pokers);
        System.out.println("洗牌：");
        System.out.println(pokers);

        //揭牌
        List<List<Poker>> list = game.game(pokers);
        System.out.println("揭牌");
        for (int i = 0; i < list.size(); i++) {
            System.out.println(list.get(i));
        }
        System.out.println("剩下的牌");
        System.out.println(pokers);

    }

}
